//
//  BK_my_ShippingAddressServer.h
//  bestkeep
//
//  Created by bj on 2016/11/10.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BK_my_ShippingAddressServer : NSObject

typedef void (^ShippingAddressCallback) (id obj, NSError *error);

extern NSString * const shippingAddressStrBKAPI;

// 收货地址列表
extern NSString * const strShipping_address_list;

//设置默认收货地址
extern NSString * const strShipping_default_address;

//删除收货地址
extern NSString * const strShipping_delete;

//编辑收货地址
extern NSString * const strShipping_edit;

// 添加收获地址
extern NSString * const strShipping_add;

//获取用户默认地址
extern NSString * const strDefault_address;

//收货地址地址列表
+ (void)shippingAddressList:(ShippingAddressCallback)callback;

//设置默认收货地址
+ (void)setDefaultAddress:(NSDictionary *)parmeters :(ShippingAddressCallback)callback;

//删除收货地址
+ (void)deleteShippingAddress:(NSDictionary *)parameters :(ShippingAddressCallback)callback;

//编辑收货地址
+ (void)editShippingAddress:(NSDictionary *)parameters :(ShippingAddressCallback)callback;

//添加收货地址
+ (void)addShippingAddress:(NSDictionary *)dict callback:(ShippingAddressCallback)callback;

//获取用户默认地址
+ (void)getUserDefaultShippingAddressCallback:(ShippingAddressCallback)callback;

@end
